
import { get, post ,deletes, put} from './http'
// 获取 仓库 list
export const getList = (params) => get(`/stores/`,params)


export const getInfo = (id) => get(`/stores/`+id)

export const deleteStore = (id) => deletes(`/stores/`+id)

export const addStore = (params) => post(`/stores/`, params)

export const editStore = (id,params) => put(`/stores/`+id,params)



